package com.atguigu.gmall.payment.pay.impl;

import com.atguigu.gmall.payment.model.PaymentInfo;
import com.atguigu.gmall.payment.pay.PayAPI;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author: atguigu
 * @create: 2023-05-10 14:44
 */
@Slf4j
@Component("jdPay")
public class JDPayWay implements PayAPI {

    /**
     * 京东创建支付页面方法
     *
     * @param paymentInfo
     * @return
     */
    @Override
    public String createPayPage(PaymentInfo paymentInfo) {
        log.info("京东创建支付页面方法");
        return "jdpay";
    }
}
